function getDate() {
    let myDate = new Date;
    let year = myDate.getFullYear();
    let mon = myDate.getMonth() + 1; //获取当前月
    let date = myDate.getDate();
    let hour = myDate.getHours();
    let minutes = myDate.getMinutes();
    let seconds = myDate.getSeconds();
    let timestr = year + '/' + mon + '/' + date + ' ' + hour + ':' + minutes+":"+seconds;
    return timestr;
}
module.exports = getDate;
